package com.sdk4.jinritemai.model.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@Data
public class DoudianTradeRefundListSearchResult implements Serializable {


    private int total;
    private List<AftersaleListBean> aftersaleList;

    @NoArgsConstructor
    @Data
    public static class AftersaleListBean {
        private String aftersaleRefundTypeDesc;
        private String postReceiver;
        private int refundType;
        private int refundStatus;
        private String statusDeadline;
        private String aftersaleStatusDesc;
        private String applyTime;
        private int partType;
        private long pid;
        private int urgeSmsCnt;
        private int deadlineType;
        private int aftersaleStatus;
        private int aftersaleType;
        private String aftersaleProcessDesc;
        private int aftersaleOrderType;
        private String reasonDesc;
        private int arbitrateStatus;
        private long aftersaleId;
        private long orderId;
        private String returnStatusDesc;
        private List<AftersaleItemsBean> aftersaleItems;
        private List<AftersaleRecordItemsBean> aftersaleRecordItems;

        @NoArgsConstructor
        @Data
        public static class AftersaleItemsBean {
            private int postAmount;
            private String createTime;
            private int num;
            private int payAmount;
            private int partType;
            private String productName;
            private String productImg;
            private int refundPostAmount;
            private long productId;
            private int refundAmount;
            private long orderId;
            private List<SkuSpecBean> skuSpec;
            private List<ProductTagBean> productTag;
            private List<String> aftersaleService;

            @NoArgsConstructor
            @Data
            public static class SkuSpecBean {
                private String name;
                private String value;
            }

            @NoArgsConstructor
            @Data
            public static class ProductTagBean {
                private String tagLinkUrl;
                private String tagDetailEn;
                private String tagDetail;
            }
        }

        @NoArgsConstructor
        @Data
        public static class AftersaleRecordItemsBean {
            private int gotPkg;
            private String role;
            private String opTime;
            private String opName;
            private String remark;
            private int conclusion;
            private long aftersaleId;
            private String comment;
            private String opType;
            private long orderId;
            private String logisticsCode;
            private String companyCode;
            private String companyName;
            private List<?> evidence;
        }
    }
}
